package com.neusoft.neuhealth.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.neusoft.neuhealth.domain.CheckOutRecord;
import com.neusoft.neuhealth.po.customer.customerresult.MyCheckoutApplicationItem;

import java.util.List;

public interface CheckOutRecordMapper extends BaseMapper<CheckOutRecord> {
    void cancelCheckout(Long id);

    List<MyCheckoutApplicationItem> selectMyCheckoutApplications(Long userId, int pageStart, Integer pageSize, String customerName);

    int countMyCheckoutApplications(Long userId, String customerName);

    void updateCheckoutRecordDelFlag(Long id);

    void updateCheckoutRecordDelFlagByUserId(Long aLong);
}
